home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
45 Great Windows Utilities 7
/
45 Great Windows Utilities Volume 7 MOJO-411 (Mojo Software).iso
/
batsh
/
sample5.bsh
< prev
next >
Wrap
Text File
|
1995-02-08
|
595b
|
31 lines
; run and close CALCULATOR
; wait for printer-settings
;
show hide
wait off
if Window Calculator goto showcalc
run icon calc
if errorlevel 2 goto error
:showcalc
show icon Calculator
if errorlevel 2 goto exit
icon exclamation
label Close CALCULATOR to continue
show icon
play ding.wav
waitclose 20 Calculator
label Waiting for PRINTER settings
play ding.wav
waitopen 20 Printers
exit
:error
message BATSH Error Message
This BATSH sample requires the following windows files
for executing the full sample demo:
calculator.exe
ding.wav
.ok,10
:exit